package com.audaque.springboot.foshanupload.schedule.model.qo;


import com.audaque.springboot.foshanupload.core.model.qo.BaseQo;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.*;
import lombok.NoArgsConstructor;


import java.io.Serializable;

/**
 * <p>
 *

 * </p>
 *
 * @author zgb
 * @since 2022-04-17
 */
@Schema( description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DynamicScheduleMpgtQo extends BaseQo {
    private static final long serialVersionUID = -1242493306307174690L;

        @Schema( description  = "id")
                                @JsonSerialize(using = ToStringSerializer.class)
                            private Long id;

        @Schema( description  = "周期表达式")
                                            private String cron;

        @Schema( description  = "是否有效")
                                            private Integer open;

        @Schema( description  = "任务方法表达式")
                                            private String reference;


}
